package com.kclmedu.feign.service.impl;

import com.kclmedu.feign.service.ScheduleServiceHi;
import org.springframework.stereotype.Service;

/*************************
 *@ClassName ScheduleServiceHiHystrix
 *@Description Feign中自带断路器，只需要开启和简单的配置即可
 *@Author yejf
 *@Date 2019-12-01 23:03
 *@Version 1.0
 */
@Service
public class ScheduleServiceHiHystrix implements ScheduleServiceHi {

    @Override
    public String responseFromClientHi(String name) {
        return "Sorry,"+name+"!本服务暂停服务了";
    }
}
